<%@ page language="java" contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>

<%@ include file="/core/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		
		<%@ include file="/core/adminMeta.jsp"%>
		 
		<!-- 遮罩效果结束 -->
	</head>
	
	<body>
		<div id="scrollContent">
		
			<div class="box2" panelTitle="股份分红" roller="true">
	
<form id="commitForm" action="admin/wealth/fen.shtml" method="post"  onsubmit="return check()">
			<jodd:form scopes="request">
					<table class="tableStyle" formMode="true">
					
						<tr>
							<th colspan="2">股份分红</th>
						</tr>
					
						<tr>
							<td>经理数：</td>
							<td>
								 ${level2}
							</td>
						</tr>
						<tr>
							<td>经理分红总数：</td>
							<td>
							 
							<input type="text" id="num2" name="num2"  value="0"/>
							</td>
						</tr>
						
						<tr>
							<td>总监数：</td>
							<td>
							 	${level3}
							</td>
						</tr>
						<tr>
							<td>总监分红总数：</td>
							<td>
							 
							<input type="text" id="num3" name="num3"  value="0" />
							</td>
						</tr>
						<tr>
							<td>董事数：</td>
							<td>
							 	${level4}
							</td>
						</tr>
						
						<tr>
							<td>董事分红总数：</td>
							<td>
							 
							<input type="text" id="num4" name="num4"  value="0" />
							</td>
						</tr>
						 
						<tr>
							<td>安全密码：</td>
							<td>
								<input type="password" id="myTwoPassword" name="myTwoPassword"/>
							</td>
						</tr>
						
						<tr>
							<td colspan="2">
								<div style="color: red;text-align:center;">
									<s:actionerror/>
									<s:fielderror/>
								</div>
							</td>
						</tr>
						
				
						<tr>
							<td colspan="2">
								<input type="submit" value=" 提 交 " style="width: 80px;height: 30px;font-size: 17px;font-weight: bold;"/>
								<input type="reset" value=" 重 置 " style="width: 80px;height: 30px;font-size: 17px;font-weight: bold;"/>
							</td>
						</tr>
				
						
					</table>
					<div class="padding_top10">
					
						<table class="tableStyle" transMode="true">
							<tr>
								<td>
									<div style="color: red; text-align: center;">
										 ${retMsg}
									</div>
								</td>
							</tr>
						</table>
					
						
					</div>
			</jodd:form>
		</form>
				
				
			</div>
		</div>
	<!--代码高亮end-->
	
	<script type="text/javascript">
			 
		 
			function check(){
				 
				showProgressBar();
				
				  
				if ($("#num2").val() == "") {
					alert("经理分红总数输入不正确。");
					closeProgress();
					return false;
				} 
				if ($("#num3").val() == "") {
					alert("总监理分红总数输入不正确。");
					closeProgress();
					return false;
				} 
				if ($("#num4").val() == "") {
					alert("董事分红总数输入不正确。");
					closeProgress();
					return false;
				} 
				
				 
				
				 
				return true;
			}
		</script> 
	</body>
</html>